package cn.sofwin.boot.crud.entity;

import java.util.Date;
import cn.sofwin.core.mvc.entity.IdEntity;

/**
 * 实体
 * @author LetCode
 * @since 1.0
 *
 */
public class BaArtical extends IdEntity {
	
	private static final long serialVersionUID = -5954788428235913071L;
	
	/** 发布人id */
	private Integer userId;

	/** 标题 */
	private String title;

	/** 摘要 */
	private String summary;

	/** 内容 */
	private String content;

	/** 阅读计数(热点) */
	private Integer count;

	/** 添加时间 */
	private Date addTime;

	/** 状态：-1删除，0冻结，1正常 */
	private Integer status;

	public BaArtical() {
	}

	public BaArtical(Integer id) {
		this.id = id;
	}
	
	public Integer getUserId() {
		return this.userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}
	
	public String getTitle() {
		return this.title;
	}

	public void setTitle(String title) {
		this.title = title;
	}
	
	public String getSummary() {
		return this.summary;
	}

	public void setSummary(String summary) {
		this.summary = summary;
	}
	
	public String getContent() {
		return this.content;
	}

	public void setContent(String content) {
		this.content = content;
	}
	
	public Integer getCount() {
		return this.count;
	}

	public void setCount(Integer count) {
		this.count = count;
	}
	
	public Date getAddTime() {
		return this.addTime;
	}

	public void setAddTime(Date addTime) {
		this.addTime = addTime;
	}
	
	public Integer getStatus() {
		return this.status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}
	
}